package com.flower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flower.domain.entity.Farmer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86178
* @description 针对表【farmer(花农信息表)】的数据库操作Mapper
* @createDate 2025-02-17 20:54:03
* @Entity com.flower.entity.Farmer
*/
@Mapper
public interface FarmerMapper extends BaseMapper<Farmer> {

    //增加花农信息
    int addFarmer(Farmer farmer);
    //修改花农信息
    int updateFarmer(Farmer farmer);
    //删除花农信息
    int deleteFarmer(Integer farmerId);
    //批量删除花农信息
    int deleteBatchFarmer(Integer[] farmerIds);
    //查询花农信息
    Farmer selectFarmer(Integer farmerId);
    //查询花农信息列表
    List<Farmer> selectFarmerList(Farmer farmer);
}




